{config_load file="$language/lang.conf" section="address_book"}
<div class="boxx">
<div class="b_tit5">
 <div><div><div><h3>{#heading_address#}</h3></div></div></div>
</div>
<div class="rcon1">
 <div class="rcon2">
   <div class="rcon3">
   {if $error!=''}<div class="er">{$error}</div>{/if}
   <div class="zx">{$FORM_ACTION}
   <h3>{#title_standard#}</h3>
   <div class="hr"></div>
   <div class="zx">
     <span class="r"><b>{#title_standard#}</b><br />{$ADDRESS_DEFAULT}</span>{#text_standard#}
   </div>
   </div>
   <div class="zx">
   <h3>{#title_addresses#}</h3>
   <div class="zx">
            <table class="table" cellspacing="1">
            {foreach name=aussen item=addresses from=$addresses_data}
              <tr>
                <td><strong>{$addresses.NAME}</strong> {if $addresses.PRIMARY=='1'}
                  <em>({#title_standard#})</em> {/if}</td>
                <td>{$addresses.BUTTON_EDIT} {$addresses.BUTTON_DELETE}</td>
              </tr>
              <tr>
                <td colspan="2">{$addresses.ADDRESS}</td>
              </tr>
            {/foreach}
            </table>
   </div>
   </div>
   <div class="sd">
      <span class="r">{$BUTTON_NEW}</span><span class="l">{$BUTTON_BACK}</span>
   </div>
   <div class="info">{$ADDRESS_COUNT}</div>
   </div>
 </div>
</div>
<div class="bf"><div><div></div></div></div>
</div>
